package com.example.teachingSystem.pojo.form.TS;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Date;

@Data
public class UpdateTeachForm {
    @Schema(description = "教师职工号")
    @NotBlank(message = "职工号不能为空")
    private Long teacherId;

    @Schema(description = "教师姓名")
    private String name;

    @Schema(description = "教师性别(male/female)")
    private String gender;

    @Schema(description = "教师生日")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date birthday;

    @Schema(description = "教师所属学院")
    private String department;

    @Schema(description = "教师职称")
    private String title;

    @Schema(description = "教师电话号码")
    private String phone;

    @Schema(description = "教师住址")
    private String address;

    @Schema(description = "教师身份证号")
    private String idCard;
}
